<?php

use Illuminate\Http\Request;

/**
 * @SWG\Info(
 *  title="蜂巢接口",
 *  description="易哲慧",
 *  termsOfServiceUrl = "",
 *  contact= "281048894@qq.com",
 *  license= "Apache 2.0",
 *  licenseUrl="http://www.apache.org/licenses/LICENSE-2.0.html"
 * )
 */



/*Route::get('/user', function (Request $request) {
    return $request->user();
})->middleware('auth:api');

Route::post('phone/code', 'ApiController@sendVerifyCode');*/

/**
 * @package
 * @category
 * @subpackage
 *
 * @SWG\Resource(
 *  apiVersion="0.2",
 *  swaggerVersion="1.2",
 *  resourcePath="/store",
 *  basePath="http://facetstore.zircote.com/swagger-php/api",
 *  produces="['application/json']"
 * )
 */


/**
 * @SWG\Api(
 *   path="/api/store/list",
 *   @SWG\Operation(
 *      method="GET",
 *      nickname="GetStoreList",
 *      summary="登录",
 *      notes="登录系统，获取系统登录状态会话。",
 *      type="app\Models\Store",
 *      @SWG\Parameters(
 *          @SWG\Parameter(
 *              name="name",
 *              description="门店名称（可模糊搜索）",
 *              paramType="query",
 *              type="string"
 *          ),
 *          @SWG\Parameter(
 *              name="store_id",
 *              description="门店id",
 *              paramType="query",
 *              type="string"
 *          )
 *      ),
 *      @SWG\ResponseMessages(
 *          @SWG\ResponseMessage(code=402, message="参数错误"),
 *          @SWG\ResponseMessage(code=200, message="成功。")
 *      )
 *   )
 * )
 */
Route::get('/store/list', [
    'as' => 'GetStoreList',
    'uses' => 'StoreController@getList'
]);
